package org.summer.gateway.security;

import lombok.extern.log4j.Log4j2;
import org.springframework.security.authentication.ReactiveAuthenticationManager;
import org.springframework.security.core.Authentication;
import reactor.core.publisher.Mono;

/**
 * token认证管理器
 */
@Log4j2
public class TokenAuthenticationManager implements ReactiveAuthenticationManager {
    @Override
    public Mono<Authentication> authenticate(Authentication authentication) {
        log.debug("用户登录请求第 1 步,token 登录检查");
        return Mono.empty();
    }
}
